Voice response system

ABSTRACT

With interactive voice response services, it can be frustrating for a user to become stuck in a dialogue where the same question is asked repetitively. In his invention the wording of questions used by the system are varied throughout a dialogue depending upon how many times a user has visited a dialogue state ever in their call history. Furthermore the wording of the question is also varied in dependence upon the way in which the question was asked the last time the user was in a particular dialogue state.

TECHNICAL FIELD

[0001] This invention relates to a voice response apparatus and method, particularly although not exclusively for accessing and updating remotely held data using a telephone.

BACKGROUND TO THE INVENTION AND PRIOR ART

[0002] In known voice response systems a dialogue model is used to model a dialogue between a user and the system. Often such a dialogue model comprises states (or nodes) which are notionally connected by edges. Conceptually a user making a call to the visits a state and the system asks the user a question in dependence up on the current state the user is visiting. The user's answer is analysed by the system in order to decide which state the user should visit next, and hence what the next question should be.

[0003] However, a problem with such a system is that it is possible for the user to get ‘stuck’ in a particular state, and hence the dialogue becomes repetitive. In the worst case the user terminates the call, at the very least the user is discouraged from using the system again even if they do eventually achieve the task they set out to do.

SUMMARY OF THE INVENTION

[0004] According to a first aspect of the present invention there is provided a method of operating a current dialogue with a user of an interactive voice response system having a dialogue model comprising

[0005] a plurality of states and a plurality of interconnecting edges;

[0006] a current state; and

[0007] user dialogue data indicating for a user a total number of visits to a state;

[0008] in which a prompt definition, for use by a message generator to generate a message for sending to the user, is selected dependence upon the current state, upon the number of visits made to the current state during the current dialogue and upon the total number of visits said user has made to the current state during one or more previous dialogues.

[0009] Preferably the prompt definition is selected in dependence on further data indicating whether the user has visited the current state during the current dialogue and upon data indicating the prompt which was selected for the most recent visit to the current state.

[0010] Moreover, from a second aspect the present invention further provides an interactive voice response system having a dialogue model comprising:

[0011] a plurality of states and a plurality of interconnecting edges;

[0012] a current state; and

[0013] user dialogue data indicating for a user a total number of visits to a state;

[0014] the system further comprising prompt definition selection means for selecting a prompt definition, for use by a message generator to generate a message for sending to the user, in dependence upon the current state, upon the number of visits made to the current state during the current dialogue and upon the total number of visits said user has made to the current state during one or more previous dialogues.

BRIEF DESCRIPTION OF THE DRAWINGS

[0015] An embodiment of the present invention will now be described, presented by way of example only, with reference to the accompanying drawings in which:

[0016]FIG. 1 is a schematic representation of a computer loaded with software embodying the present invention;

[0017]FIG. 2 shows an architecture of a natural language system embodying the present invention;

[0018]FIG. 3 illustrates a grammar data updater according to the present invention; and

[0019]FIG. 4 illustrates part of the user dialogue data store of FIG. 1.

DESCRIPTION OF THE PREFERRED EMBODIMENT

[0020]FIG. 1 illustrates a conventional computer 101, such as a Personal Computer, generally referred to as a PC, running a conventional operating system 103, such as Windows (a Registered Trade Mark of Microsoft Corporation), having a store 123 and having a number of resident application programs 105 such as an e-mail program, a text to speech synthesiser, a speech recogniser, a telephone interface program or a database management program. The computer 101 also has a program 109 which together with data stored in the store 123, and resident application programs provides an interactive voice response system as described below with reference to FIG. 2.

[0021] The computer 101 is connected to a conventional disc storage unit 111 for storing data and programs, a keyboard 113 and mouse 115 for allowing user input and a printer 117 and display unit 119 for providing output from the computer 101. The computer 101 also has access to external networks (not shown) via a network connection card 121.

[0022]FIG. 2 shows an architecture of an embodiment of the interactive voice response system according to this invention. A user's speech utterance is received by a speech recogniser 10. The received speech utterance is analysed by the recogniser 10 with reference to a user grammar data store 24. The user grammar data store 24 represents sequences of words or sub-words which can be recognised by the recogniser 10 and the probability of these sequences occurring. The recogniser 10 analyses the received speech utterance, with reference to speech units which are held in a speech unit database 16, and provides as an output a representation of sequences of words or sub-words which most closely resemble the received speech utterance. In this embodiment of the invention the representation comprises the most likely sequence of words or sub-words, in other embodiments the representation could be a graph of the mostly likely sequences.

[0023] Recognition results are expected to be error prone, and certain words or phrases will be much more important to the meaning of the input utterance that others. Thus, confidence values associated with each word in the output representation are also provided. The confidence values give a measure related to the likelihood that the associated word has been correctly recognised by the recogniser 10. The output graph including the confidence measures are received by a classifier 6, which classifies the received graph according to a predefined set of meanings, with reference to a semantic model 20 (which is one of a plurality (not shown) of possible semantic models) to form a semantic classification. The semantic classification comprises a vector of likelihoods, each likelihood relating to a particular one of the predefined set of meanings. A dialogue manager 4 operates using a state based dialogue model 18 as will be described more fully later. The dialogue manager 4 uses the semantic classification vector and information about the current dialogue state together with information from the dialogue model 18 and user dialogue data 15 to instruct a message generator 8 to generate a message, which is spoken to the user via a speech synthesiser 12. The message generator 8 uses information from a message model 14 to construct appropriate messages. The speech synthesiser uses a speech unit database 16 which contains speech units representing a particular voice. The dialogue manager 4 also instructs the recogniser 10 which user grammar to use from the user grammar data store 24 for recognising a received response to the generated message, and also instructs the classifier 6 as to the semantic model to use for classification of the received response. The dialogue manager 4 interfaces to other systems 2 (for example, a customer records database).

[0024] When a user calls the system the user is asked for a unique user identifier and a personal identification number. If the data entered by the user (which may be spoken or entered using a telephone keypad) matches an entry in a user access database 22 then they are allowed access to the service.

[0025] The dialogue model 18 comprises a plurality of states connected together by interconnecting edges. A caller moves to a particular state by speaking a one of several words or phases which are classified by the classifier 6 as having a particular meaning. To use the example above, ‘view my calendar’ and ‘go to my appointments’ may be classified as meaning the same thing as far as the dialogue is concerned, and may take the user to a particular dairy access state.

[0026] The user dialogue data store 15 stores a count of the number of times a user has visited a particular state in the dialogue model. FIG. 4 shows schematically the contents of the user dialogue data store 15.

[0027] Once a user is in a particular state the dialogue manager instructs the message generator to play a message to the caller to guide them as to the actions they may perform. The verbosity of the message depends upon the count of the number of times the user had previously visited that state, which is stored in the user dialogue data store 15. When a new user calls the system, the message used will be verbose as the count will be equal to 0. The messages become more concise as the stored count for that state increases i.e. each time an individual user uses the state, whether or not the use of the state is during a single call or whether the use is during a later call to the system. The count values stored in the store 15 may be updated periodically to reduce the value if a particular user has not used a particular state recently, therefore the messages will become more verbose over time should a user not enter that state in subsequent calls, or if a user has not used the system for some time.

[0028] The user dialogue data store 15 also stores a Boolean flag indicating whether or not a user has visited a particular state in the dialogue model within a particular call, together with a record of the message which was played to the user the last time that state was visited. When the user visits the same state on more than one occasion during a particular call, messages will be selected by the dialogue manager 4 to ensure a different message is played to that played last time the state was visited during the call. This avoids the repetition that human factors analysis shows detrimentally affects the likelihood of a user reusing the system. For any sate with potential repetition, there are a plurality of messages stored in the message model store 14, with the next message to be used randomly selected from the set not including the message used previously (which is stored in the user dialogue data store 15).

[0029] In order to tailor the system to a particular user so that the system becomes easier to use as the system is used more, each time a user calls the system data is stored in a speech data store 32. Speech data received from the user is recognised by the recogniser 10 with reference to the user grammar data store 24. Initially before any calls have been made by a user the user grammar data is identical to generic grammar data stored in a generic grammar data store 36.

[0030] The speech data store 32 stores for each user speech data along with the sequences of words or sub-words which were recognised by the recogniser 10. After each call the recognised speech is used by a weighting updater 30 to update weighting values for words which have been recognised in a grammar definition store 40. For the particular user who made the call the words which have been recognised have a weighting value increased. In other embodiments of the invention words which have not been used also have their weighting value decreased. Once a day a compiler 38 is used to update the user grammar data store 42 according to the weighting values stored in the grammar definition store 40. A method of updating a grammar for a speech recogniser according to provided weighting values is described in our co-pending patent application no EP96904973.3. Together the weighting updater 30, the grammar definition store 40 and the compiler 38 provide the grammar updater 42 of the present invention.

[0031] Recognised speech does not need to be stored in a speech data store, in other embodiments of the invention recognised speech may be used to update user grammar data in a single process which may be carried out immediately. Furthermore it will be understood that the updating process could take at predetermined time intervals as described above, or could conveniently be done whenever there is spare processing power available, for example when there are no calls in progress.

[0032] The result of the use of the compiler 38 is that words or phrases which a particular user uses more frequently are given a higher weighting in the user grammar data store 24 than those which are hardly ever used. It is possible in fact to effectively delete words from a particular user grammar by providing a weighting value of 0. Of course, it may happen that a user starts to use words which have not been used previously. The recogniser 10 may not recognise these words due to the fact that these words have a very low weighting value associated with them for that user in the user grammar data store 42. In order to prevent this problem the users speech which has been stored in the speech data store 32 is periodically recognised by the speech recogniser 10 using generic grammar data 36, and the recognised speech is sent to a grammar data checker 34 which checks that no words have been recognised which have been previously been given a very low weighting. If this is the case then the weighting value for that word will be updated accordingly, and the compiler 38 is used to update the user grammar data store 42 according to the updated weighting values stored in the grammar definition store 40.

[0033] Whilst this invention has been described with reference to stores 32, 40, 42 which store data for each user it will be understood that this data could be organised in any number of ways, for example there could be a separate store for each user, or store 42 could be organised as a separate store for each grammar for each user.

[0034] As will be understood by those skilled in the art, the interactive voice response program 109 can be contained on various transmission and/or storage mediums such as a floppy disc, CD-ROM, or magnetic tape so that the program can be loaded onto one or more general purpose computers or could be downloaded over a computer network using a suitable transmission medium.

[0035] Unless the context clearly requires otherwise, throughout the description and the claims, the words “comprise”, “comprising” and the like are to be construed in an inclusive as opposed to an exclusive or exhaustive sense; that is to say, in the sense of “including, but not limited to”. 

1. A method of operating a current dialogue with a user of an interactive voice response system having a dialogue model comprising a plurality of states and a plurality of interconnecting edges; a current state; and user dialogue data indicating for a user a total number of visits to a state; in which a prompt definition, for use by a message generator to generate a message for sending to the user, is selected dependence upon the current state, upon the number of visits made to the current state during the current dialogue and upon the total number of visits said user has made to the current state during one or more previous dialogues.
 2. A method according to claim 1 in which the prompt definition is selected in dependence on further data indicating whether the user has visited the current state during the current dialogue and upon data indicating the prompt which was selected for the most recent visit to the current state.
 3. An interactive voice response system having a dialogue model comprising: a plurality of states and a plurality of interconnecting edges; a current state; and user dialogue data indicating for a user a total number of visits to a state; the system further comprising prompt definition selection means, for selecting a prompt definition, for use by a message generator to generate a message for sending to the user, in dependence upon the current state, upon the number of visits made to the current state during the current dialogue and upon the total number of visits said user has made to the current state during one or more previous dialogues.
 4. A system according to claim 3, wherein the prompt definition selection means is further operable to select the prompt definition in dependence on further data indicating whether the user has visited the current state during the current dialogue and upon data indicating the prompt which was selected for the most recent visit to the current state. 